package com.hyacinth.lotterysystem.dao.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.hyacinth.lotterysystem.dao.handler.Encrypt;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

@Data
@TableName("winning_record")
@EqualsAndHashCode(callSuper = true)
public class WinningRecordDO extends BaseDO {
    private Long activityId;
    private String activityName;
    private Long prizeId;
    private String prizeName;
    private String prizeTier;
    private Long winnerId;
    private String winnerName;
    private String winnerEmail;
    private Encrypt winnerPhoneNumber;
    private Date winningTime;
}
